package com.charging.dao;

import com.charging.entity.ChargingRecord;

import java.util.List;

public interface ChargingRecordDao {
    List<ChargingRecord> getAllRecords();


    ChargingRecord getRecordById(Integer id);
    long RecordEnergyCount();
    boolean insert(ChargingRecord record);
}
